package com.ruoyi.project.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import com.ruoyi.framework.web.domain.BaseEntity;

import java.util.Date;
import java.util.List;

/**
 * 【请填写功能名称】对象 sys_mobile_user
 *
 * @author theme
 * @date 2020-05-27
 */
public class SysMobileUser extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 用户id
     */
    @ApiModelProperty(name = "用户id")
    private Long mobileUserId;

    /**
     * 昵称
     */
    @ApiModelProperty(name = "昵称")
    private String userName;

    @ApiModelProperty(name = "密码")
    private String password;

    /**
     * 头像
     */
    @ApiModelProperty(name = "头像")
    private String image;

    /**
     * 微信id
     */
    @ApiModelProperty(name = "微信id")
    private String openId;

    /**
     * 性别
     */
    @ApiModelProperty(name = "性别")
    private String sex;

    @ApiModelProperty(name = "生日")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8")
    private Date birthday;

    private String type;

    private String delFlag;

    private Double integral;

    /**
     * 律师执业证号
     */
    @ApiModelProperty(name = "手机号")
    private String phone;

    private String time;

    private String code;

    private String key;

    private List<SysRecord> records;

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public List<SysRecord> getRecords() {
        return records;
    }

    public void setRecords(List<SysRecord> records) {
        this.records = records;
    }

    public void setMobileUserId(Long mobileUserId) {
        this.mobileUserId = mobileUserId;
    }

    public Long getMobileUserId() {
        return mobileUserId;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserName() {
        return userName;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getImage() {
        return image;
    }

    public Double getIntegral() {
        return integral;
    }

    public void setIntegral(Double integral) {
        this.integral = integral;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public String getOpenId() {
        return openId;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getSex() {
        return sex;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getPhone() {
        return phone;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }
}
